<?php
	$session->flash();
	$session->flash('auth');
	echo $form->create('User', array('action' => 'login'));
    echo $form->input('email', array('label' => '我的邮箱', 'div' => 'clearfix', 'after' => '</div>', 'between' => '<div class="input">'));
	echo $form->input('password',array('label' => '输入密码', 'div' => 'clearfix', 'after' => '</div>', 'between' => '<div class="input">'));
?>
<div class="actions">
<?php
	echo $form->submit('登录', array('class' => 'btn primary'));
?>
</div>
<?php
	echo $form->end();

?>
